<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>
        课堂测验
    </title>
    <!-- 1.请将div中的链接文字改为红色 -->
    <!-- 2.请将下面大肘子的颜色改为绿色 -->
    <style>
        .nav ul li a {
            color: red;
        }

        .hot>a {
            color: rgb(45, 206, 75);
        }
    </style>
</head>

<body>
    <div class="nav">
        <ul>
            <li><a href="">百度</a></li>
            <li><a href="">百度</a></li>
        </ul>
    </div>
    <div class="hot">
        <a href="#">大肘子</a>
        <ul>
            <li><a href="#">猪头</a></li>
            <li><a href="#">猪尾巴</a></li>
        </ul>
    </div>
</body>

</html>